 |
API Documentation
|
|
|
20 template <
typename T,
int S>
static void destructor(void *data)
Defines an environment in which scripts can execute.
Definition: Environment.h:14
A view over data.
Definition: BufferView.h:18
static void updateEnvironmentPod(nkScripts::Environment *env, const nkMemory::StringView &typeName)
Wraps available template specializations for std::array and offers functions for use in scripting.
Definition: ArrayWrapper.h:149
static nkScripts::OutputValue readIndexPod(const nkScripts::DataStack &stack)
Encompasses the wrapping of std for Lua.
Definition: ArrayWrapper.h:7
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
static nkScripts::FUNCTION_PARAMETER_TYPE getNkType()
static void * constructor(const nkScripts::DataStack &stack)
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Basic template class for wrapping a std::array into a scripting environment.
Definition: ArrayWrapper.h:22
static void writeIndexPod(const nkScripts::DataStack &stack)
FUNCTION_PARAMETER_TYPE
Describes a variable type.
Definition: FunctionParameterType.h:12
static void updateEnvironment(nkScripts::Environment *env)
static nkScripts::OutputValue readIndexClass(const nkScripts::DataStack &stack, const nkMemory::StringView &typeName)
static nkScripts::OutputValue size(const nkScripts::DataStack &stack)
static void writeIndexClass(const nkScripts::DataStack &stack)
static void updateEnvironmentClass(nkScripts::Environment *env, const nkMemory::StringView &typeName, const nkMemory::StringView &containedType)